NVelocity
Class SupportClass

Constructor Summary
SupportClass()
        Initializes a new instance of the SupportClass class.

Method Summary
long FileLength(System.IO.FileInfo file)
string FormatDateTime(System.Globalization.DateTimeFormatInfo format, System.DateTime date)
System.Globalization.DateTimeFormatInfo GetDateTimeFormatInstance(int dateStyle, int timeStyle, System.Globalization.CultureInfo culture)
object PutElement(System.Collections.Hashtable hashTable, object key, object newValue)
byte[] ToByteArray(sbyte[] sbyteArray)
sbyte[] ToSByteArray(byte[] byteArray)
void WriteStackTrace(System.Exception throwable, System.IO.TextWriter stream)

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Constructor Detail

SupportClass

public SupportClass()

Initializes a new instance of the SupportClass class.

Method Detail

FileLength

public long FileLength(System.IO.FileInfo file)


FormatDateTime

public string FormatDateTime(System.Globalization.DateTimeFormatInfo format,
                             System.DateTime date)


GetDateTimeFormatInstance

public System.Globalization.DateTimeFormatInfo GetDateTimeFormatInstance(int dateStyle,
                                                                 int timeStyle,
                                                                 System.Globalization.CultureInfo culture)


PutElement

public object PutElement(System.Collections.Hashtable hashTable,
                         object key,
                         object newValue)


ToByteArray

public byte[] ToByteArray(sbyte[] sbyteArray)


ToSByteArray

public sbyte[] ToSByteArray(byte[] byteArray)


WriteStackTrace

public void WriteStackTrace(System.Exception throwable,
                            System.IO.TextWriter stream)